<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>

<body>
  
</body>

1.

$.ajax({
    url: 'https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su',
    dataType:'jsonp',
    jsonp:'cb',
    data:{ 
        wd:this.t1 
    },
    
    success: function(data){
        console.log(data)
    } 
});


2.

<script type="text/javascript">
    function jshow(json){
        alert(json)
    }
</script>
<!-- <script type="text/javascript">
    let oText=document.getElementById('text1')
    let oBtn=document.getElementById('btn1')
    oText.oninput=function(){
        let oS=document.createElement('script');
        os.src=`https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=${oText.value}&cb=jshow`;
        document.head.appendChild(oS)
    }
</script> -->
<script src="https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?a=1&b=2&cb=jshow"></script>

</html>